package com.huayi.gg.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.huayi.gg.R;
import com.huayi.gg.config.API;

public class TestActivity extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);


        setContentView(R.layout.activity_test);


        TextView textView = findViewById(R.id.txtmycode);

        String mac =  API.getDeviceId(this);


        textView.setText(mac);
    }
}
